package com.example.uchansz.mapper;

import com.example.uchansz.entity.User;

public interface UserMapper {
    int add(User user);//注册啊

    User searchUser(int phone);//根据用户名从DB查询用户信息
    User login(int phone,String password);//登录

}
